﻿using System;

public partial class AlbumRenamer : AlbumPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        hplToAlbum.NavigateUrl = @"~/AlbumViewer.aspx?" + AlbumHelper.GetAlbumIdQueryPair(AlbumId);
    }
    
    protected void btnAccept_Click(object sender, EventArgs e)
    {
       string resourceKey = AlbumManager.RenameAlbum(Album, txtBoxNewAlName.Text);
       lblForMessage.Text = (string)GetLocalResourceObject(resourceKey);
    }
}